package com.he.DesignPatterns.factory.SimpleFactory;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/26 9:31
 */
public class Client {
    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();
        Coffee coffee = coffeeStore.selectCoffee("B");
        System.out.println(coffee.getName());
    }
}
